C provides the facility to create several kinds of custom data types. Arrays of and pointers to custom data types are also permitted, using identical syntax to that for ordinary int, float, and char variables. In effect, a consistent extension to the C language is thus defined.
Defining any of the custom types is usually done with the following syntax:
<kind of custom type> <name given to custom type>
{
<list of members of custom type>
.
.
};
(The trailing semicolon , or "null" statement, is required. The syntax requires a statement to follow the closing bracket. Occasionaly the programmer will place an identifier before the semicolon to declare a variable of the new type immediately.)